package com.hou.common.exception;

import com.alibaba.fastjson.serializer.IntegerCodec;

/**
 * @author shkstart
 * @create 2022-01-29-18:28
 */
public enum BizCodeEnume {
    UNKNOW_EXCEPTION(10000,"系统未知异常"),
    VAILD_EXCEPTION(10001,"参数格式校验失败");

    private Integer code;
    private String msg;
    BizCodeEnume(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
